﻿using System;
using System.Data;
using IAM.Interface.Model;
namespace IAM.Interface.IDAL
{
	/// <summary>
    /// 身份权限管理接口
	/// </summary>
    public interface IIdentityMgnt
	{
		#region  成员方法
        /// <summary>
        /// 创建用户
        /// </summary>
        /// <param name="identity">人员身份信息</param>
        /// <returns>人员账号信息</returns>
        AccountInfo CreateIdentity(Identity identity);
        /// <summary>
        /// 激活用户
        /// </summary>
        /// <param name="identity">人员身份信息</param>
        /// <returns>人员账号信息</returns>
        AccountInfo EnableIdentity(Identity identity);
        /// <summary>
        /// 禁用用户
        /// </summary>
        /// <param name="identity">人员身份信息</param>
        /// <returns>人员账号信息</returns>
        AccountInfo DisableIdentity(Identity identity);
        /// <summary>
        /// 删除用户
        /// </summary>
        /// <param name="identity">人员身份信息</param>
        /// <returns>人员账号信息</returns>
        AccountInfo DeleteIdentity(Identity identity);
        /// <summary>
        /// 更新用户信息
        /// </summary>
        /// <param name="identity">人员身份信息</param>
        /// <returns>人员账号信息</returns>
        AccountInfo UpdateIdentity(Identity identity);

		#endregion  成员方法
	}
}
